
// <copyright file="IXmlExportable.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The XmlExportable interface.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Xml
{
    using System.IO;

    /// <summary>
    /// The XmlExportable interface.
    /// </summary>
    public interface IXmlExportable
    {
        #region Public Methods and Operators

        /// <summary>
        /// The write xml.
        /// </summary>
        /// <param name="writer">
        /// The writer.
        /// </param>
        /// <param name="alignmentPrefix">
        /// The alignment prefix.
        /// </param>
        void WriteXml(TextWriter writer, string alignmentPrefix);

        #endregion Public Methods and Operators

        ///// <summary>
        ///// Writes the XML.
        ///// </summary>
        ///// <param name="writer">The writer.</param>
        // void WriteXml(XmlWriter writer);
    }
}
